{extend name="public:base"/}


{block name="title"}编辑店铺分组{/block}
{block name="style"}{/block}

{block name="main"}

<section class="content" xmlns="http://www.w3.org/1999/html">
    <div class="row">

        <div class="col-md-12">

            <div class="row">
                <div class="col-lg-12">
                    <div class="box">
                        <div class="box-header with-border">
                            <h3 class="box-title">编辑店铺分组</h3>
                        </div>
                        <form  id="pt_form" method="post">
                            <div class="box-body">

                                <input type="hidden" name="id" value="<?=$model['id']?>" ?>
                                <div class="clearfix"></div>

     
                                <div class="form-group ">
                                    <div class='col-sm-2 text-right'>
                                        <label for="group_name" class="control-label Validform_label" >分组名称</label>
                                    </div>
                                    <div class='col-sm-10'>
                                        <input type="text" id="group_name" class="form-control" name="group_name" placeholder="请输入分组名称" value="<?=$model['group_name']?>" datatype="s2-50" errormsg="分组名称超出长度范围">
                                        <div class="help-block"></div>
                                    </div>
                                </div>
          
                                <div class="form-group ">
                                    <div class='col-sm-2 text-right'>
                                        <label for="sort_order" class="control-label Validform_label" >排序</label>
                                    </div>
                                    <div class='col-sm-10'>
                                        <input type="text" id="sort_order" class="form-control" name="sort_order" placeholder="请输入排序" value="<?=$model['sort_order']?>" datatype="n" ignore="ignore" value="0" errormsg="排序是数字类型">
                                        <div class="help-block"></div>
                                    </div>
                                </div>
                                 </div>
                            <div class="box-footer text-center">
                                <button class="btn btn-primary" type="submit">保存</button>
                                <span class="btn btn-white" onclick="history.go(-1)">返回</span>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
{/block}

{block name="js"}
<script>

    var validate = validator('#pt_form');
    
</script>
{/block}